#include "mypdu.h"

PDU* makePDU(int dataSize)
{
    int size = sizeof (PDU) + dataSize;
    PDU* pdu = (PDU*)malloc(size);
    memset(pdu,0,size);
    pdu->maxSize=size;
    pdu->dataSize=dataSize;
    return pdu;
}
